import axios from "@/utils/axios";

export function addTag(data) {
    return axios({
        url: '/tag/add',
        method: 'POST',
        data: data
    })
}

export function deleteTag(data) {
    return axios({
        url: '/tag/delete',
        method: 'POST',
        data:data
    })
}

export function getTagLists() {
    return axios({
        url: '/tag/list',
        method: 'GET',
    })
}
